
using System;

namespace ERP_RORZE_TOOL.Common.ValueObject
{
	[Serializable]
	public class Supplier
	{
		#region Members
		protected string supplierID;
        protected string supplierName;
		protected string company;
		protected string address;
		protected int countryID;
		protected string telephone;
		protected string fax;
		protected string pIC;
		protected string pICSex;
		protected string pICEmail;
		protected string pICPosition;
		protected string taxCode;
		protected string bankAccount;
		protected string bankName;
        protected string nameOfCommodity;
        protected int deliveryTermtID;
		protected int paymentID;
		protected string note;

		protected string tempId;
		#endregion
		#region Public Properties

		/// <summary>
		/// Property relating to database column SupplierID(nvarchar(50),not null)
		/// </summary>
		public string SupplierID
		{
			get
			{
				return supplierID;
			}
			set
			{
				supplierID = value;
			}
		}

		/// <summary>
		/// Property relating to database column Name(nvarchar(250),not null)
		/// </summary>
        public string SupplierName
		{
			get
			{
                return supplierName;
			}
			set
			{
                supplierName = value;
			}
		}

		/// <summary>
		/// Property relating to database column Company(nvarchar(250),not null)
		/// </summary>
		public string Company
		{
			get
			{
				return company;
			}
			set
			{
				company = value;
			}
		}

		/// <summary>
		/// Property relating to database column Address(nvarchar(250),not null)
		/// </summary>
		public string Address
		{
			get
			{
				return address;
			}
			set
			{
				address = value;
			}
		}

		/// <summary>
		/// Property relating to database column CountryID(int,not null)
		/// </summary>
		public int CountryID
		{
			get
			{
				return countryID;
			}
			set
			{
				countryID = value;
			}
		}

		/// <summary>
		/// Property relating to database column Telephone(nvarchar(50),not null)
		/// </summary>
		public string Telephone
		{
			get
			{
				return telephone;
			}
			set
			{
				telephone = value;
			}
		}

		/// <summary>
		/// Property relating to database column Fax(nvarchar(50),not null)
		/// </summary>
		public string Fax
		{
			get
			{
				return fax;
			}
			set
			{
				fax = value;
			}
		}

		/// <summary>
		/// Property relating to database column PIC(nvarchar(50),null)
		/// </summary>
		public string PIC
		{
			get
			{
				return pIC;
			}
			set
			{
				pIC = value;
			}
		}

		/// <summary>
		/// Property relating to database column PICSex(nvarchar(50),null)
		/// </summary>
		public string PICSex
		{
			get
			{
				return pICSex;
			}
			set
			{
				pICSex = value;
			}
		}

		/// <summary>
		/// Property relating to database column PICEmail(nvarchar(50),null)
		/// </summary>
		public string PICEmail
		{
			get
			{
				return pICEmail;
			}
			set
			{
				pICEmail = value;
			}
		}

		/// <summary>
		/// Property relating to database column PICPosition(nvarchar(50),null)
		/// </summary>
		public string PICPosition
		{
			get
			{
				return pICPosition;
			}
			set
			{
				pICPosition = value;
			}
		}

		/// <summary>
		/// Property relating to database column TaxCode(nvarchar(50),null)
		/// </summary>
		public string TaxCode
		{
			get
			{
				return taxCode;
			}
			set
			{
				taxCode = value;
			}
		}

		/// <summary>
		/// Property relating to database column BankAccount(nvarchar(50),null)
		/// </summary>
		public string BankAccount
		{
			get
			{
				return bankAccount;
			}
			set
			{
				bankAccount = value;
			}
		}

		/// <summary>
		/// Property relating to database column BankName(nvarchar(250),null)
		/// </summary>
		public string BankName
		{
			get
			{
				return bankName;
			}
			set
			{
				bankName = value;
			}
		}

		/// <summary>
		/// Property relating to database column Commodity(nvarchar(250),not null)
		/// </summary>
        public string NameOfCommodity
		{
			get
			{
                return nameOfCommodity;
			}
			set
			{
                nameOfCommodity = value;
			}
		}

		/// <summary>
		/// Property relating to database column DeliveryPointID(int,null)
		/// </summary>
        public int DeliveryTermtID
		{
			get
			{
                return deliveryTermtID;
			}
			set
			{
                deliveryTermtID = value;
			}
		}

		/// <summary>
		/// Property relating to database column PaymentID(int,null)
		/// </summary>
		public int PaymentID
		{
			get
			{
				return paymentID;
			}
			set
			{
				paymentID = value;
			}
		}

		/// <summary>
		/// Property relating to database column Note(nvarchar(250),null)
		/// </summary>
		public string Note
		{
			get
			{
				return note;
			}
			set
			{
				note = value;
			}
		}

		public string TempId
		{
			get
			{
				return tempId;
			}
			set
			{
				tempId = value;
			}
		}
		#endregion
	}
}
